package KK.Controls.Events
{
	import KK.GameBase.MSGEvent;
	import KK.Controls.Tips.Tip;
	
	public class TipMSGEvent extends MSGEvent
	{
		static public const TIP_MESSAGE_EVENT:String=String(0xF00F02);
		
		protected var _msg:String;
		protected var _x:int;
		protected var _y:int;
		
		protected var _direction:int;
		
		public function TipMSGEvent(type:String,_msg:String,_x:int,_y:int,direction:int=0)
		{
			//TODO: implement function
			super(type);
			this._msg=_msg;
			this._x=_x;
			this._y=_y;
			this._direction=direction;
		}
		
		public function get Msg():String{
			return this._msg;
		}
		public function get X():int{
			return this._x;
			
		}
		public function get Y():int{
			return this._y;
		}
		
		public function get Direction():int{
			return this._direction;
		}
	}
}